package com.aaa.stock.service;

import com.aaa.entity.Medicines;
import com.aaa.entity.PurchaseItem;
import com.aaa.stock.vo.EditPurchaseVo;
import com.aaa.stock.vo.PurchaseDtoVo;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface EditPurchaseService extends IService<PurchaseItem> {
     Result<List<PurchaseItem>> getPurchaseItem(String purchaseId);

     Result<IPage<Medicines>> findBytccAll(Integer currentPage, Integer pageSize, EditPurchaseVo editPurchaseVo);

    Result<String> purchaseIdRequest();

    Result<List<PurchaseItem>> getPurchaseSh(String queryid);

//    Result<Boolean> GetAdd(PurchaseDtoVo purchaseVo);
}
